package com.gang.mars.basic.generictype.demo9.selectors;

import com.gang.mars.basic.generictype.demo7.GangMergedAnnotation;
import com.gang.mars.basic.generictype.demo9.annotation.GangAnnotation;

import java.lang.annotation.Annotation;

/**
 * @Author：gang.chen
 * @Date：2023/6/19 13:33
 */
@FunctionalInterface
public interface GangMergedAnnotationSelector<A extends GangAnnotation> {

    GangMergedAnnotation<A> select(GangMergedAnnotation<A> existing, GangMergedAnnotation<A> candidate);
}
